lib/kargs: Make API public and upstream new rpm-ostree APIs
authorAllen Bai <abai@redhat.com>
Tue, 28 May 2019 18:02:54 +0000 (14:02 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 18 Jun 2019 14:29:14 +0000 (14:29 +0000)
commitbe2572bf68090a5e277338d2613d3c7d53b0c9e8
tree6e304051c55177fdf49d502f5865feeb777ed139
parent2db79fb398fba2f9ab2e05c517ebccfe1834674b
lib/kargs: Make API public and upstream new rpm-ostree APIs

This change makes public the current kargs API in src/libostree/ostree-kernel-args.c
and adds documentations.

Upstreams the new kargs API from rpm-ostree/src/libpriv/rpmostree-kargs-process.c

Merges libostree_kernel_args_la_SOURCES to libostree_1_la_SOURCES in Makefile-libostree.am

Upstreams tests/check/test-kargs.c from rpm-ostree.

Closes: #1833
Closes: #1869
Approved by: jlebon
22 files changed:
Makefile-libostree-defines.am
Makefile-libostree.am
Makefile-ostree.am
Makefile-tests.am
apidoc/Makefile.am
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-bootloader-uboot.c
src/libostree/ostree-kernel-args.c
src/libostree/ostree-kernel-args.h
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c
src/libostree/ostree.h
src/libotutil/ot-tool-util.c
src/libotutil/ot-tool-util.h
src/libotutil/otutil.h
src/ostree/ot-admin-builtin-deploy.c
src/ostree/ot-admin-builtin-unlock.c
src/ostree/ot-admin-instutil-builtin-set-kargs.c
tests/.gitignore
tests/test-kargs.c [new file with mode: 0644]